import { createRouter, createWebHistory } from 'vue-router'

// 引入静态路由
import {constantRoutes} from './route'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: constantRoutes
})

export default router
